package com.crm.dao.mapper.csd.customerManager;

import com.crm.model.entity.csd.customerManager.CustomerMemberCardDetailDemandPurchaseRecord;
import com.crm.model.entity.csd.customerManager.CustomerMemberCardDetailDemandPurchaseRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerMemberCardDetailDemandPurchaseRecordMapper {
    long countByExample(CustomerMemberCardDetailDemandPurchaseRecordExample example);

    int deleteByExample(CustomerMemberCardDetailDemandPurchaseRecordExample example);

    int deleteByPrimaryKey(String demandPurchaseRecordId);

    int insert(CustomerMemberCardDetailDemandPurchaseRecord record);

    int insertSelective(CustomerMemberCardDetailDemandPurchaseRecord record);

    List<CustomerMemberCardDetailDemandPurchaseRecord> selectByExample(CustomerMemberCardDetailDemandPurchaseRecordExample example);

    CustomerMemberCardDetailDemandPurchaseRecord selectByPrimaryKey(String demandPurchaseRecordId);

    int updateByExampleSelective(@Param("record") CustomerMemberCardDetailDemandPurchaseRecord record, @Param("example") CustomerMemberCardDetailDemandPurchaseRecordExample example);

    int updateByExample(@Param("record") CustomerMemberCardDetailDemandPurchaseRecord record, @Param("example") CustomerMemberCardDetailDemandPurchaseRecordExample example);

    int updateByPrimaryKeySelective(CustomerMemberCardDetailDemandPurchaseRecord record);

    int updateByPrimaryKey(CustomerMemberCardDetailDemandPurchaseRecord record);
}